package org.dromara.quickswing.exception;

import javax.swing.*;

public class QSValidationException extends RuntimeException {
    private final JComponent component;

    public QSValidationException(String message, JComponent jComponent) {
        super(message);
        this.component = jComponent;
    }

    public JComponent getComponent() {
        return component;
    }
}
